package com.qlzb.taskmanagement.persistentData.dao;


import com.qlzb.taskmanagement.persistentData.entity.OperationStation;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface OperationStationDao extends CrudRepository<OperationStation,Integer> {
    public List<OperationStation> findByAreaId(String areaId);
    public OperationStation findFirstByCode(String stationCode);
    public OperationStation findFirstByOperationId(String operationId);
    public void deleteByAreaId(String areaId);
}
